Platform Explorer / Nuxeo Platform 2021.50

Component org.nuxeo.ecm.platform.uidgen.contribs

Resolution Order

552
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.uidgen.contribs">

  <extension target="org.nuxeo.ecm.core.uidgen.UIDGeneratorService" point="sequencers">
    <documentation>
      Contribute the Hibernate based sequencer as the default one.
    </documentation>
    <sequencer name="hibernateSequencer" class="org.nuxeo.ecm.platform.uidgen.JPAUIDSequencerImpl"
      default="true" />
  </extension>

  <extension target="org.nuxeo.ecm.core.persistence.PersistenceComponent" point="hibernate">
    <hibernateConfiguration name="NXUIDSequencer">
      <datasource>nxuidsequencer</datasource>
      <properties>
        <property name="hibernate.hbm2ddl.auto">update</property>
      </properties>
    </hibernateConfiguration>
  </extension>

</component>